package com.cskaoyan.service;

import com.cskaoyan.bean.bo.WxglMallManagementControllerBo.ClearHistoryBo;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.marketBean.MarketUser;
import com.cskaoyan.bean.vo.WxglMallManagementControllerVo.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @author wxgl
 * @date 2022-12-31 11:59
 * @describe
 */
public interface WxglCatalogService {
    CatalogCurrentVo catalogCurrent(Integer id);

    CatalogIndexVo catalogIndex();

    SearchIndexVo searchIndex(Integer userId);

    List<String> searchHelper(String keyword);

    void searchClearhistory(ClearHistoryBo clearHistoryBo);

    TopicListVo topicList(Integer page, Integer limit);

    TopicDetailVo topicDetail(Integer id);

    TopicRelatedVo topicRelated(Integer id);

    CommonData<CollectListVo> collectList(BasePageInfo info, Integer type);

    void collectAddordelete(Map map,Integer id);

    int storageUpload(MultipartFile file);
}
